/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Domain;

/**
 *
 * @author Min0
 */
public class SportFacility {
    
    private int FacilityNo;
    private String FacilityType;
    private boolean Booked = false;
    private int Capacity; //fitness centre can have 20 people max
    
    public SportFacility()
    {
    }
    
    public SportFacility(int FacilityNo, String FacilityType)
    {
        this.FacilityNo = FacilityNo;
        this.FacilityType = FacilityType;
        Booked = true;
    }
    
    public SportFacility(String FacilityType, int Capacity)
    {
        this.FacilityType = FacilityType;
        Booked = true;
        this.Capacity = Capacity;
    }

    /**
     * @return the FacilityType
     */
    public String getFacilityType() {
        return FacilityType;
    }

    /**
     * @param FacilityType the FacilityType to set
     */
    public void setFacilityType(String FacilityType) {
        this.FacilityType = FacilityType;
    }

    /**
     * @return the Booked
     */
    public boolean isBooked() {
        return Booked;
    }

    /**
     * @param Booked the Booked to set
     */
    public void setBooked(boolean Booked) {
        this.Booked = Booked;
    }

    /**
     * @return the Capacity
     */
    public int getCapacity() {
        return Capacity;
    }

    /**
     * @param Capacity the Capacity to set
     */
    public void setCapacity(int Capacity) {
        this.Capacity = Capacity;
    }

    /**
     * @return the FacilityNo
     */
    public int getFacilityNo() {
        return FacilityNo;
    }

    /**
     * @param FacilityNo the FacilityNo to set
     */
    public void setFacilityNo(int FacilityNo) {
        this.FacilityNo = FacilityNo;
    }
}
